<?php
namespace Dybasedev\Dataman;

use Illuminate\Database\ConnectionInterface as LaravelConnectionInterface;

interface ConnectionInterface extends LaravelConnectionInterface
{
    /**
     * Show all databases
     * 
     * @return array
     */
    public function getDatabases();

    /**
     * Show all data tables
     * 
     * @return array
     */
    public function getTables();

    /**
     * Switch database
     * 
     * @param  string   $database   Database name
     * @return $this
     */
    public function database($database, $prefix);
}